Deserializes the object from Xml, and returns it.
Namespace:
Apache.NMS
Assembly:
Apache.NMS (in Apache.NMS.dll)
Syntax
C# |
---|
public static T ToObject<T>(
this IMessage message
)
where T : class
|
JavaScript |
---|
JavaScript does not support generic types or methods. |
Type Parameters
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IMessage. When you use instance method syntax to call this method, omit the first parameter. For more information, see
or
.
See Also